/*
 * GeoVISTA Center (Penn State, Dept. of Geography)
 * Copyright (c), 2003-2011,  Jin Chen and Alan M. MacEachren, GeoVISTA Center, Penn State University
 * Licensed under Simplified BSD License
 *
 *
 * @author: jin Chen 
 * @date: Sep 24, 2004$
 * @version: 1.0
 */
package edu.psu.geovista.app.pcp.light;

import edu.psu.geovista.app.pcp.DfPcp;

import javax.swing.*;
import javax.swing.plaf.ComponentUI;

public class DfLightPcp extends DfPcp
                        implements LightPcp{
    static {//register PcpUI
     // UIManager.put(<UI Class ID>, <UI Class's full package name>");
        UIManager.put("LightPcpUI", "edu.psu.geovista.app.pcp.plot.gui.LightPcpUI");
    }
    public String getUIClassID(){
        return "LightPcpUI";

    }
    public void setUI(ComponentUI ui){
        super.setUI(ui);
    }

    public void updateUI(){
        try {
            ComponentUI ui = (ComponentUI)UIManager.getUI(this);
            setUI(ui);
        }
        catch (ClassCastException ccex){
        }
        invalidate();
    }




}
